﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;
using System.Reflection;
namespace TaskEditor
{
    public partial class FormMain : Form
    {
        public FormMain()
        {
            InitializeComponent();
        }

        private void 打开ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            zControlTask1.zLoadfile();
            tabControl1.SelectedIndex = 0;

        }

        private void 保存ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            zControlTask1.zSavefile();
        }
        private void 打开ToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            zControlEle1.zLoadFile();
            tabControl1.SelectedIndex = 1;
        }

        private void 保存ToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            zControlEle1.zSaveFile();
        }

    }


}
